package com.heima.student_work;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        ArrayList<Student> li = new ArrayList<>();
        C_stu cStu = new C_stu();
        Student s1 = new Student("张三", 18, "00101");
        Student s2 = new Student("李四", 18, "00101");
        cStu.addStu(s1, li);
        cStu.addStu(s2, li);
        cStu.display(li);
    }
}
